package com.sharer.last.base.enums;

import lombok.Getter;

/**
 * 是和否通用枚举
 *
 * @ClassName BooleanEnum
 * @Author WangJin
 * @Date 2023/06/16/15:24
 * @Description
 * @Version 1.0
 */
@Getter
public enum BooleanEnum {
    /**
     * 否
     */
    FALSE(0, "否"),

    /**
     * 是
     */
    TRUE(1, "是");

    private int    code;
    private String name;

    BooleanEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

}
